﻿<div class="login-container animated fadeInDown" ng-controller="ForGotPassController">
    <div class="loginbox bg-white">
        <div class="logobox">
            <p class="text-center">
                <a ui-sref="app.dashboard">
                    <img src="assets/img/logo_login.png" width="150" />
                </a>                
            </p>
        </div>
        <h3 class="text-center">Forgot Password</h3>
        <form name="simpleForm" method="post" class="form-horizontal bv-form" novalidate="novalidate">
            <div class="loginbox-textbox">
                <input type="text" class="form-control" placeholder="User Name" ng-model="UserName" required />
            </div>
            <div class="loginbox-textbox">
                <input type="email" class="form-control" placeholder="Email Address" ng-model="mail" required />
            </div>
            <div class="loginbox-submit">
                <button class="btn btn-primary btn-block" ng-disabled="!simpleForm.$valid" ng-click="doPincode(UserName,mail)">Send Mail</button>
            </div>
        </form>
        <!--Success Modal Templates-->
        <script type="text/ng-template" id="WarningModal">
            <div class="modal-header">
                <i class="glyphicon glyphicon-check"></i>
            </div>
            <div class="modal-title">{{title}}</div>
            <div class="modal-body">
                {{ messeger }}
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-success" ng-click="ok()">OK</button>
                <button type="button" class="btn btn-default" ng-click="cancel()">Cancel</button>
            </div>
        </script>
        <!--End Success Modal Templates-->
</div>
</div>